cmake_minimum_required(VERSION 3.10)
project(task1_Armor)

set(CMAKE_CXX_STANDARD 14)

find_package(OpenCV 4.5.3 REQUIRED)

add_library(ArmorDetector STATIC ArmorDetector.cpp)
target_include_directories(ArmorDetector PUBLIC include)
target_include_directories(ArmorDetector PUBLIC ${OpenCV_INCLUDE_DIRS})

add_executable(task1_Armor main.cpp)
target_link_libraries(ArmorDetector ${OpenCV_LIBS})
target_link_libraries(task1_Armor ArmorDetector)
